package com.mzhmxh.service;

import com.mzhmxh.pojo.SmbmsRole;

import java.util.List;

/**
 * @Author LiJinCheng
 * @Date 2020/7/11 6:33 下午
 * @Version 1.0
 * @package com.mzhmxh.service
 **/
public interface RoleService {

    //
    List<SmbmsRole> selectAll();
    boolean add(SmbmsRole role);
    int roleCodeIsExist(String roleCode);

    boolean modify(SmbmsRole role);
    SmbmsRole selectByPrimaryKey(Long id);

    boolean deleteRoleById(Long id);
}
